const { post, postJSON } = require('../request.js')

exports.getLocationData = () => {
	return post('/area/home')
}
/* 查询展区详情
 */
exports.getAreaDetails = (data) => {
  console.log(data);
	return post('/area/details',data)
}

// 浏览记录的展区详情

exports.getListBySubzone = (makingRecordId,subzoneId) => {

	return post(`/smell/record/listBySubzone?makingRecordId=${makingRecordId}&subzoneId=${subzoneId}`)
}
